package com.shd.edanpei.presenter.contract;

import com.shd.edanpei.ui.adapter.DemandAdapter;
import com.shd.edanpei.base.BaseIPresenter;
import com.shd.edanpei.base.BaseIView;
import com.shd.edanpei.view.RefreshLayout;

/**
 * Created by mc on 2018/10/18.
 * yang-wen-wen
 */

public interface DemandContract {

    interface DemandIView extends BaseIView {

        RefreshLayout getRefreshLayout();

        DemandAdapter getAdapter();
    }

    interface DemandIPresenter extends BaseIPresenter {

        void refresh();

        void loadMore();

        void delete(int requirementId, int position);
    }
}
